#include "TrackedObject.hxx"

TrackedObject::TrackedObject()
{
    _objectId = -1;
    _startFrameIndex = -1;
    _endFrameIndex = -1;
    _classIndex = -1;
	_isSelected = false;
    _visible = true;
}

void TrackedObject::pushRect(int frameIndex, cv::Rect2d rect)
{
	_boxes[frameIndex] = rect;
}

void TrackedObject::eraseRect(int frameIndex)
{
	_boxes.erase(frameIndex);
}
